package com.gljx.util;

import com.gljx.web.Entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public class GetUserSession {

    public static String getUserSession(HttpServletRequest request){
        HttpSession session = request.getSession();
        User user = (User) session.getAttribute("user");
        return user.getFcompanyid();
    }

}
